jsurfer's language selection page >
jsurfer's homepage >
Other tools
reduce_image_size_eng.zip
This Python script modifies png, gif, and jpeg formatted images in the 'images' folder
to reduce the image size by a percentage specified by the user.
For png and gif file formatted files, after resizing, it will convert them to jpeg.
Additionally, if 0% is selected, it will convert png and gif formatted files to jpeg
without changing the file size.
If you run this script and get this error:
ModuleNotFoundError: No module named 'PIL'
then just execute
pip3 install pillow